Update guide.md to use "language: rust" in .travis.yml
authorJim Garrison <jim@garrison.cc>
Sat, 23 Aug 2014 18:18:03 +0000 (11:18 -0700)
committerJim Garrison <jim@garrison.cc>
Sat, 23 Aug 2014 18:18:03 +0000 (11:18 -0700)
travis-ci now supports "language: rust", which eliminates the need to call rustup.sh in .travis.yml. See http://www.reddit.com/r/rust/comments/2ecocp/travis_ci_supports_rust/ for details.

src/doc/source/guide.md

index 2ab95458e7ce8d689fdb35d870ce3f22c80353ba..853c613b9b34c8ed320250f0d2e2711da2404015 100644 (file)
@@ -390,8 +390,7 @@ correct number of tests.
 To test your project on Travis-CI, here is a sample `.travis.yml` file:
 
 ```
-install:
-  - curl http://www.rust-lang.org/rustup.sh | sudo sh -
+language: rust
 script:
   - cargo build --verbose
   - cargo test --verbose